
//enum field {first_name = 0, name, last_name, txt_birth_day, txt_sex_person, phone_number, mail};
enum sex {unknown, male, female};


class Student
{
private:
		
		size_t key_id;
		char * first_name;
		char * name;
		char * last_name;
		unsigned int birth_day;
		char * txt_birth_day;
		sex sex_person;
		char * txt_sex_person;
		char * phone_number;
		char * mail;
		char input_str[256];
		
		char * Input_Field (char * &);
		char * student_line;
		//char * (& r_student_line) = student_line;
	
public:
	Student();
	void Add_Line();
	void Show_Line();
	void Show();
	char * Get_Line(char * str_line, char sep= '|');
	~Student();
};

class Group
{
private:
		size_t id_group;
		size_t size;
		size_t gr_capacity;
		char gr_name[11];
		Student * person;
		Student * tmp_person;
		
public:
	
	Group();
	Group (char * name, size_t capacity = 0, size_t id=0);
	int Extend (size_t size_add=0);
	void Show();
	int Add_Person ();
	
	~Group();
};

